package com.hzhjhh.view.cashierView;

import java.awt.Rectangle;

import javax.swing.JLabel;
import javax.swing.JTextField;

/**
 * 组件初始化-收银页面-单价
 * @author 12083
 *
 */
public class PricePerOneInit {

	/**
	 * 单价标签初始化
	 * @return
	 */
	public static JLabel initLabel() {
		JLabel pricePerOne = new JLabel();
		pricePerOne.setBounds(267, 489, 42, 15);
		pricePerOne.setText("单价");
		return pricePerOne;
	}
	
	/**
	 * 单价输入框初始化
	 */
	public static JTextField initTxf() {
		JTextField pricePerOne = new JTextField();
		pricePerOne.setBounds(new Rectangle(302, 489, 72, 21));
		pricePerOne.setEnabled(false);
		return pricePerOne;
	}
}
